Get store
curl --request GET \
--url https://firespark.cloud/api/integrations/v1/stores/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://firespark.cloud/api/integrations/v1/stores/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://firespark.cloud/api/integrations/v1/stores/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://firespark.cloud/api/integrations/v1/stores/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://firespark.cloud/api/integrations/v1/stores/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://firespark.cloud/api/integrations/v1/stores/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://firespark.cloud/api/integrations/v1/stores/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "downtown-kitchen",
"uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"brand_id": "0001",
"organization_id": "11111111-1111-1111-1111-111111111111",
"merchant_id": "22222222-2222-2222-2222-222222222222",
"name": "Downtown Kitchen",
"status": "ACTIVE",
"timezone": "America/Guayaquil",
"contact": {
"email": "downtown@merchant.com",
"phone": "+593991234567"
},
"location": {
"latitude": -2.1894,
"longitude": -79.8891,
"address_line_1": "Av. 9 de Octubre 123",
"city": "Guayaquil",
"country": "Ecuador",
"postal_code": "090101",
"business_name": "Downtown Kitchen S.A."
},
"channels": {
"APP": {
"id": "app",
"uid": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "Mobile app",
"fulfillment": {
"PICKUP": {
"uid": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"id": "pickup",
"type": "PICKUP",
"name": "Pickup",
"pricing": {
"is_tax_inclusive": true,
"minimum_order_value": 0,
"maximum_order_value": 500,
"tax_rate": 0.15,
"fees": []
},
"coverage_zones": [],
"availability": {
"status": "OPEN",
"schedules": [
{ "day_of_week": "monday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "tuesday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "wednesday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "thursday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "friday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] }
]
}
}
}
}
},
"payments": {
"orderable": true,
"methods": []
},
"cms_template_id": null,
"cms": null,
"overrides": []
}
}
Stores
Get store
Retrieve a single store by its external identifier.
GET
/
stores
/
{id}
Get store
curl --request GET \
--url https://firespark.cloud/api/integrations/v1/stores/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://firespark.cloud/api/integrations/v1/stores/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://firespark.cloud/api/integrations/v1/stores/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://firespark.cloud/api/integrations/v1/stores/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://firespark.cloud/api/integrations/v1/stores/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://firespark.cloud/api/integrations/v1/stores/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://firespark.cloud/api/integrations/v1/stores/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "downtown-kitchen",
"uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"brand_id": "0001",
"organization_id": "11111111-1111-1111-1111-111111111111",
"merchant_id": "22222222-2222-2222-2222-222222222222",
"name": "Downtown Kitchen",
"status": "ACTIVE",
"timezone": "America/Guayaquil",
"contact": {
"email": "downtown@merchant.com",
"phone": "+593991234567"
},
"location": {
"latitude": -2.1894,
"longitude": -79.8891,
"address_line_1": "Av. 9 de Octubre 123",
"city": "Guayaquil",
"country": "Ecuador",
"postal_code": "090101",
"business_name": "Downtown Kitchen S.A."
},
"channels": {
"APP": {
"id": "app",
"uid": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "Mobile app",
"fulfillment": {
"PICKUP": {
"uid": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"id": "pickup",
"type": "PICKUP",
"name": "Pickup",
"pricing": {
"is_tax_inclusive": true,
"minimum_order_value": 0,
"maximum_order_value": 500,
"tax_rate": 0.15,
"fees": []
},
"coverage_zones": [],
"availability": {
"status": "OPEN",
"schedules": [
{ "day_of_week": "monday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "tuesday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "wednesday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "thursday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "friday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] }
]
}
}
}
}
},
"payments": {
"orderable": true,
"methods": []
},
"cms_template_id": null,
"cms": null,
"overrides": []
}
}
Returns the full configuration for one store. Use this endpoint after the customer selects a location to load fulfillment options, channel availability, and payment methods for checkout.
Requires a Fire spark access token obtained through token
exchange.
Path parameters
| Parameter | Required | Description |
|---|---|---|
id | Yes | External store identifier. Alphanumeric, _, and - only. 1–64 characters. |
Request
curl "https://firespark.cloud/api/storefront/v1/stores/downtown-kitchen" \
-H "Authorization: Bearer ACCESS_TOKEN"
Response
The response wraps a single store object indata. The shape matches the list stores endpoint.
{
"data": {
"id": "downtown-kitchen",
"uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"brand_id": "0001",
"organization_id": "11111111-1111-1111-1111-111111111111",
"merchant_id": "22222222-2222-2222-2222-222222222222",
"name": "Downtown Kitchen",
"status": "ACTIVE",
"timezone": "America/Guayaquil",
"contact": {
"email": "downtown@merchant.com",
"phone": "+593991234567"
},
"location": {
"latitude": -2.1894,
"longitude": -79.8891,
"address_line_1": "Av. 9 de Octubre 123",
"city": "Guayaquil",
"country": "Ecuador",
"postal_code": "090101",
"business_name": "Downtown Kitchen S.A."
},
"channels": {
"APP": {
"id": "app",
"uid": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "Mobile app",
"fulfillment": {
"PICKUP": {
"uid": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"id": "pickup",
"type": "PICKUP",
"name": "Pickup",
"pricing": {
"is_tax_inclusive": true,
"minimum_order_value": 0,
"maximum_order_value": 500,
"tax_rate": 0.15,
"fees": []
},
"coverage_zones": [],
"availability": {
"status": "OPEN",
"schedules": [
{ "day_of_week": "monday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "tuesday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "wednesday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "thursday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] },
{ "day_of_week": "friday", "periods": [{ "start_time": "09:00:00", "end_time": "22:00:00" }] }
]
}
}
}
}
},
"payments": {
"orderable": true,
"methods": []
},
"cms_template_id": null,
"cms": null,
"overrides": []
}
}
Store fields
See the list stores reference for the full schema, includingcontact, location, channels, payments, cms_template_id, cms, and overrides.
Check
channels[channel].fulfillment[type].availability.status before showing checkout. A store can be OPEN for one fulfillment type and TEMPORARILY_CLOSED for another.Error responses
| Status | Description |
|---|---|
401 | Missing or invalid access token. |
403 | Token does not have access to this store. |
404 | No store found with the given id, or the store does not belong to the brand in the brand_id query parameter. |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
External store identifier.
Required string length:
1 - 64Pattern:
^[a-zA-Z0-9_-]+$Query Parameters
Filter by brand. When set, returns 404 if the store does not belong to this brand.
Required string length:
1 - 64Pattern:
^[a-zA-Z0-9_-]+$Response
200 - application/json
Ok
Show child attributes
Show child attributes
⌘I